﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Chung/QLSV.Master" AutoEventWireup="true" CodeBehind="GiaoVien.aspx.cs" Inherits="proRFID_DiemDanh.GiaoVien.GiaoVien" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
    <link href="CssGiaoVien.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentMain" runat="server">
<div style="text-align:center; width:100%" >
    <fieldset style="width:650px">
        <legend>Danh sách giáo viên</legend>
        <table width="100%">
            <tr>
                <td style="text-align:center">
                    KHOA:
                    <asp:DropDownList ID="ddl_Khoa" runat="server" AutoPostBack="True"
                    onselectedindexchanged="ddl_Khoa_SelectedIndexChanged" style="vertical-align:middle"></asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                <table class="border" align="center" width="90%">
                    <tr>
                        <th style="width:10%">Mã GV</th>
                        <th style="width:20%">Khoa</th>
                        <th style="width:40%">Họ</th>
                        <th >Tên</th>
                        <th style="width:5%">Sửa</th>
                        <th style="width:5%">Xóa</th>
                    </tr>
                    <asp:Repeater ID="Rpt_GiaoVien" runat="server">
                    <ItemTemplate>
                    <tr>
                            <td><%#Eval("MAGV") %></td>
                            <td><%#Eval("TENKHOA")%></td>
                            <td><%#Eval("HOGV") %></td>
                            <td><%#Eval("TENGV") %></td>
                            <td>
                                <a href="/GiaoVien/SuaGiaoVien.aspx?ID=<%#Eval("MAGV") %>"><img src="../Chung/img/edit.png" width="15px" /></a>
                            </td>
                            <td align="center">
                                <input type="checkbox" name="chon" value="<%#Eval("MAGV")%>" />
                            </td>
                    </tr>
                    </ItemTemplate>
                    </asp:Repeater>
                    <tr>
                        <td colspan="6">
                            <asp:Label ID="lbThongBao" runat="server" CssClass="Thongbao"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6" style="text-align:right">
                            <asp:ImageButton ID="Imgcmd_Them" runat="server" onclick="Imgcmd_Them_Click" ImageUrl="~/Chung/img/add.png" 
                            CssClass="nutnhan"/>
                            <asp:ImageButton ID="Imgcmd_XoaGV" runat="server" ImageUrl="~/Chung/img/delete.png" CssClass="nutnhan"
                            onclick="Imgcmd_XoaGV_Click" />
                        </td>
                    </tr>
                </table>
                </td>
            </tr>
        </table>
        
    </fieldset>
</div>
</asp:Content>
